﻿using System.Collections.Generic;
using KMF.Common;

namespace KMF.DAL
{
    public partial class ConfigDb
    {

        // ADMIN ************************************************************************************************************************


        // HOME ************************************************************************************************************************
        public static List<ConfigDto> GetAll()
        {
            var dao = SharedSqlDao;
            var command = dao.GetDbSprocCommand("WSPX_Client_Config_GetAll");
            try
            {
                return dao.GetDTOList<ConfigDto>(ref command);
            }
            finally
            {
                command.Connection.Close();
            }
        }

    }
}
